<div class='span12'>
    <!-- HEADER -->
    <div class='row-fluid'>
        <div class='span12'>
            <div class='page-header'>
                <h1>
                    <i class='icon-beaker'></i>
                    <span>WIDGET MANAGEMENT</span>
                </h1>
            </div>
        </div>
    </div>

    <!-- END OF HEADER -->


    <div class='row-fluid'>
        <div class="span12 box bordered-box blue-border" style="margin-bottom:0;">
            <div class="box-header blue-background">
                <div class="title">List</div>
                <div class="actions">
                    <a href="#" class="btn box-remove btn-mini btn-link"><i class="icon-remove"></i>
                    </a>
                    <a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
                    </a>
                </div>
            </div>
            <div class="box-content box-no-padding">
                <div class="responsive-table">
                    <div class="scrollable-area">
                        <table class="table" style="margin-bottom:0;">
                            <thead>
                            <tr>
                                <th>
                                    Name
                                </th>
                                <th>
                                    Description
                                </th>
                                <th>
                                    Status
                                </th>
                                <th>
                                    Settings
                                </th>
                                <th></th>
                            </tr>
                            </thead>
                            <tbody>

                            <?php foreach($widgets as $widgets):?>
                                <tr>
                                    <td><strong><?= $widgets->title;?></strong></td>
                                    <td><?= $widgets->description;?></td>
                                    <td><span class="label label-important"><?= ($widgets->enable == 1 ? 'Active' : 'Inactive');?></span></td>

                                    <td>
                                        <div class="text-right">
                                            <a class="btn btn-success btn-mini" href="#">
                                                <i class="icon-edit"></i>
                                            </a>
                                        </div>
                                    </td>
                                </tr>
                            <?php endforeach;?>

                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <!-- END OF CONTENT -->
</div>
